//
//  PictureView.m
//  EasyBuy
//
//  Created by Zhu Xiangjun on 10/15/12.
//  Copyright (c) 2012 shen donghao. All rights reserved.
//

#import "PictureView.h"
#import "ImageCacheSupport/ImageLoadView.h"

@interface PictureView(){
    ImageLoadView *loadView;
}

@end

@implementation PictureView

-(void)dealloc{
    [super dealloc];
    [loadView release];
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        ImageLoadView *_loadView = [[ImageLoadView alloc] initWithFrame:CGRectMake(0, 0, 65, 65)];
        [_loadView setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"picture_bg.png"]]];
        loadView = _loadView;
        [self addSubview:loadView];
        [_loadView release];
        
        
    }
    
    return self;
}

@end
